import requests


class Ihrmaip:
    @classmethod
    def login_aip(cls, body):
        login_url = "http://ihrm2-test.itheima.net/api/sys/login"
        login_header = {"Content-Type": "application/json"}
        resp = requests.post(url=login_url, headers=login_header, json=body)
        return resp

